/**
 * Alipay.com Inc.
 * Copyright (c) 2004-2016 All Rights Reserved.
 */
package com.alipay.study.web.index;

import io.swagger.annotations.ApiOperation;

import java.util.HashMap;
import java.util.Map;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.ResponseBody;

/**
 * 
 * @author wb-qlj205528
 * @version $Id: UserController.java, v 0.1 2016年11月11日 下午2:24:21 wb-qlj205528 Exp $
 */
@Controller
@RequestMapping(value = "/user", method = RequestMethod.POST)
public class UserController {

    @RequestMapping(value = "/getuser")
    @ResponseBody
    @ApiOperation(value = "getUser测试", notes = "测试 user")
    public Map<String, String> getUser() {

        Map<String, String> hap = new HashMap<String, String>();

        System.out.println(" user get user in ");

        hap.put("username", "zhangsan");
        hap.put("password", "1111111");

        return hap;
    }
}
